package ooday02work;

public class Dog extends Animal{
    Dog(String name ,int age ,String color){
        super(name, age, color);
    }
    void lookHome(){
        System.out.println(color+"色的狗狗在看家");
    }
    void eat(){
        System.out.println("名叫"+name+"的狗狗在吃骨头");
    }
    void drink(){
        System.out.println(age+"岁的狗狗正在喝水");
    }
}
